package com.boyi.db.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "`bss_police_info`")
public class BssPoliceInfo {
    /**
     * 交警id
     */
    @Id
    @Column(name = "`police_id`")
    private Integer policeId;

    /**
     * 交警姓名
     */
    @Column(name = "`police_name`")
    private String policeName;

    /**
     * 年龄
     */
    @Column(name = "`age`")
    private Integer age;

    /**
     * 身高
     */
    @Column(name = "`high`")
    private String high;

    /**
     * 体重
     */
    @Column(name = "`weight`")
    private String weight;

    /**
     * 出生日期
     */
    @Column(name = "`birthday`")
    private Date birthday;

    /**
     * 身份证
     */
    @Column(name = "`id_card`")
    private String idCard;

    /**
     * 住址
     */
    @Column(name = "`address`")
    private String address;

    /**
     * 创建时间
     */
    @Column(name = "`create_time`")
    private Date createTime;

    /**
     * 获取交警id
     *
     * @return police_id - 交警id
     */
    public Integer getPoliceId() {
        return policeId;
    }

    /**
     * 设置交警id
     *
     * @param policeId 交警id
     */
    public void setPoliceId(Integer policeId) {
        this.policeId = policeId;
    }

    /**
     * 获取交警姓名
     *
     * @return police_name - 交警姓名
     */
    public String getPoliceName() {
        return policeName;
    }

    /**
     * 设置交警姓名
     *
     * @param policeName 交警姓名
     */
    public void setPoliceName(String policeName) {
        this.policeName = policeName == null ? null : policeName.trim();
    }

    /**
     * 获取年龄
     *
     * @return age - 年龄
     */
    public Integer getAge() {
        return age;
    }

    /**
     * 设置年龄
     *
     * @param age 年龄
     */
    public void setAge(Integer age) {
        this.age = age;
    }

    /**
     * 获取身高
     *
     * @return high - 身高
     */
    public String getHigh() {
        return high;
    }

    /**
     * 设置身高
     *
     * @param high 身高
     */
    public void setHigh(String high) {
        this.high = high == null ? null : high.trim();
    }

    /**
     * 获取体重
     *
     * @return weight - 体重
     */
    public String getWeight() {
        return weight;
    }

    /**
     * 设置体重
     *
     * @param weight 体重
     */
    public void setWeight(String weight) {
        this.weight = weight == null ? null : weight.trim();
    }

    /**
     * 获取出生日期
     *
     * @return birthday - 出生日期
     */
    public Date getBirthday() {
        return birthday;
    }

    /**
     * 设置出生日期
     *
     * @param birthday 出生日期
     */
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    /**
     * 获取身份证
     *
     * @return id_card - 身份证
     */
    public String getIdCard() {
        return idCard;
    }

    /**
     * 设置身份证
     *
     * @param idCard 身份证
     */
    public void setIdCard(String idCard) {
        this.idCard = idCard == null ? null : idCard.trim();
    }

    /**
     * 获取住址
     *
     * @return address - 住址
     */
    public String getAddress() {
        return address;
    }

    /**
     * 设置住址
     *
     * @param address 住址
     */
    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    /**
     * 获取创建时间
     *
     * @return create_time - 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     *
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}